package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.ChongbitableDao;
import com.bootdo.system.domain.ChongbitableDO;
import com.bootdo.system.service.ChongbitableService;



@Service
public class ChongbitableServiceImpl implements ChongbitableService {
	@Autowired
	private ChongbitableDao chongbitableDao;
	
	@Override
	public ChongbitableDO get(Integer id){
		return chongbitableDao.get(id);
	}
	
	@Override
	public List<ChongbitableDO> list(Map<String, Object> map){
		return chongbitableDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return chongbitableDao.count(map);
	}
	
	@Override
	public int save(ChongbitableDO chongbitable){
		return chongbitableDao.save(chongbitable);
	}
	
	@Override
	public int update(ChongbitableDO chongbitable){
		return chongbitableDao.update(chongbitable);
	}
	
	@Override
	public int remove(Integer id){
		return chongbitableDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return chongbitableDao.batchRemove(ids);
	}
	
}
